package com.usian.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.usian.entity.Course;
import com.usian.entity.Train;
import com.usian.mapper.TrainMapper;
import com.usian.service.TrainService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 陈宇轩
 * @version 1.0
 * @date 2023/8/23 21:13
 */

@Service
public class TrainServiceImpl extends ServiceImpl<TrainMapper, Train> implements TrainService {
    @Autowired
    private TrainMapper comMapper;
    @Override
    public Integer findAllTrain() {
        return comMapper.findAllTrain();
    }
}
